﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Area.aspx.cs" Inherits="WinnerCMS.WebUI.Admin.ControlPanel.Area" %>

<%@ Register Src="../UC_AjaxLoading.ascx" TagName="UC_AjaxLoading" TagPrefix="uc1" %>
<!doctype html>
<html>
<head runat="server">
    <title>地区管理</title>
    <%: Styles.Render("~/Content/Bootstrap/css") %>
    <meta http-equiv="Pragma" content="No-cach" />
    <%: Scripts.Render("~/Scripts/AdminBase") %>
    

    

    <style type="text/css">
        #Area
        {
            width: 100%;
            margin-top: 20px;
        }
        #Area td
        {
            font-weight: bold;
            text-align: center;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
        <ProgressTemplate>
            <uc1:UC_AjaxLoading ID="UC_AjaxLoading1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table style="width: 98%;" border="0" cellpadding="4" cellspacing="0" id="NavigationPath">
                <tr>
                    <td style="width: auto">
                        <asp:Label ID="lblPath" runat="server"></asp:Label>
                    </td>
                    <td style="width: auto; text-align: right">
                         
                    </td>
                </tr>
            </table>
            <table id="Area">
                <tr>
                    <td> 省/直辖市（一级地区）
                        <asp:ListBox ID="lblArea1" runat="server" AutoPostBack="True" 
                            OnSelectedIndexChanged="lblArea1_SelectedIndexChanged" Rows="20" Width="150px">
                        </asp:ListBox>
                    </td>
                    <td>市（二级地区）
                        <asp:ListBox ID="lblArea2" runat="server" AutoPostBack="True" 
                            OnSelectedIndexChanged="lblArea2_SelectedIndexChanged" Rows="20" 
                            Width="150px">
                        </asp:ListBox>
                    </td>
                    <td>区/县（三级地区）
                        <asp:ListBox ID="lblArea3" runat="server" AutoPostBack="True" 
                            OnSelectedIndexChanged="lblArea3_SelectedIndexChanged" Rows="20" 
                            Width="150px">
                        </asp:ListBox>
                    </td>
                    <td style="vertical-align: middle">
                        <asp:Button ID="btnEditThis" runat="server" Text="编辑" Cssclass="btn btn-default" OnClick="btnEditThis_Click" />
                        <br />
                        <br />
                        <br />
                        <asp:Button ID="btnDelete" runat="server" Text="删除" Cssclass="btn btn-default" OnClick="btnDelete_Click" />
                    </td>
                </tr>
                <tr >
                    <td colspan="4">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td colspan="4">
                        地区名称：<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                        <asp:CheckBox ID="cbkIsOneArea" runat="server" Text="设为一级地区" />
                        <asp:Button ID="btnOK" runat="server" Cssclass="btn btn-default" OnClick="btnOK_Click" 
                            Text="添加" />
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
